<#include "/includes/vars.inc">  
<@pp.dropOutputFile />
<#assign fileName = "${resourcesDir}/i18n/"+"messages_en.properties">
<#if !pp.outputFileExists(fileName)>
	<@pp.changeOutputFile name="${fileName}" />

#Shared messages
jeecode=jeecode
appName=${r"${pom.name}"}
appDescription=${r"${pom.description}"}
appVersion=${r"${pom.version}"}
appCompany=Name of the company

#Buttons
home=Home
new=New
edit=Edit
send=Send
modify=Modify
update=Update
delete=Delete
accept=Accept
cancel=Cancel
view=View
save=Save
options=Options
download=Download
return=Return
search=Search
create=Create
select=Select
loading=Loading...
upload=Upload
english=English
spanish=Espanhol
date=Date
back=Back
add=Add
loading=Loading
login=Login
logout=Logout
user=User
loginName=Username
password=Password
admin=Admin
restoreDefaults=Restore defaults

#errors and info messages
loginError=User or password are incorrect
loginInfo=Wellcome
elementRepeatedWarning=The element already exist
accessDenied=Access denied
accessDeniedInfo=You haven't permissions to access this resource.
sessionExpired=Sesion expired
sessionExpiredInfo=Your session has expired. You need start a new session. 
sessionExpiredLink=Go to the login page

#emails
errorMailFormat=Mail format is not valid
preferenciasEmail=e-mail
subject=Subject
message=Message
content=Content
from=From
to=To
fromName=Name to show
sendMyself=Send hide copy to myself
fromRequired=From field is required
toRequired=To field is required
passwordRequired=Password field is required

#Dialogs
yes=Yes
no=No
confirmDelete=Are you sure of delete this element?
detail=Detail
required=field is required

#Menu
<#list entities.entity as entity>
    <#assign entityName = entity.@name?uncap_first>
${entityName}Menu=${entityName?cap_first}
</#list>

<#list entities.entity as entity>
    <#assign entityName = entity.@name?uncap_first>
#${entityName?cap_first} Messages
${entityName}=${entityName}
${entityName}Title=${entityName?cap_first}
${entityName}Manage=Manage ${entityName}s
${entityName}View=View of ${entityName}
${entityName}Created=${entityName?cap_first} created succesfully
${entityName}Updated=${entityName?cap_first} updated succesfully
${entityName}Deleted=${entityName?cap_first} deleted succesfully
    <#list entity.* as column>
    	<#if embeddables.embeddable.@name?seq_contains(column.@type)>
     		<#list embeddables.embeddable as embed>
				<#if embed.@name=column.@type>
					<#list embed.column as col>
${entityName}${col.@name?replace(".","_")?cap_first}=${col.@name?cap_first}
    					<#if col.@required[0]?? && col.@required[0]="true">
${entityName}${col.@name?replace(".","_")?cap_first}Required=The ${col.@name} field is required.
			    		</#if>
			    		<#if col.@size[0]??>
${entityName}${col.@name?replace(".","_")?cap_first}SizeValid=The ${col.@name} max size is ${col.@size}.
    					</#if>
        			</#list>
        		</#if>
        	</#list>
   		</#if>
${entityName}${column.@name?replace(".","_")?cap_first}=${column.@name?cap_first}
    	<#if column.@required[0]?? && column.@required[0]="true">
${entityName}${column.@name?replace(".","_")?cap_first}Required=The ${column.@name} field is required.
    	</#if>
    	<#if column.@size[0]??>
${entityName}${column.@name?replace(".","_")?cap_first}SizeValid=The ${column.@name} max size is ${column.@size}.
    	</#if>
    </#list>
        
</#list>

<#if config.settings??>
    <#assign settingsName = config.settings.@name[0]!"Settings">
${settingsName?uncap_first}=${settingsName} 
${settingsName?uncap_first}Title=${settingsName} 
	<#list config.settings.setting as setting>
${settingsName?uncap_first}${setting.@name?cap_first}=${setting.@name?cap_first}		
	</#list>
</#if>

<#list enums.enum as enum>
    <#assign name = enum.@name>
#${enum.@name} Messages
${enum.@name}=${enum.@name}
    <#list enum.value as value>
${value?replace(".","_")?cap_first}=${value?replace("_"," ")?cap_first}
    </#list>

</#list>

</#if>